package com.niodata.dp.monitor.sharelib.entity.hbase;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by ndp on 17-12-19.
 */
public class HbaseSummary implements Serializable {

  //"name": "Hadoop:service=HBase,name=Master,sub=Server"
  private String hmasterNode;
  private String status;
  //处于可用状态的regionserver汇总
  private RegionServerInfos liveRegionServers;
  //处于不可用状态的regionserver汇总
  private RegionServerInfos deadRegionServers;
  //处于可用状态的regionserver数量
  private int numRegionServers;
  //处于不可用状态的regionserver数量
  private int numDeadRegionServers;
  private Date createTime;

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getHmasterNode() {
    return hmasterNode;
  }

  public void setHmasterNode(String hmasterNode) {
    this.hmasterNode = hmasterNode;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public RegionServerInfos getLiveRegionServers() {
    return liveRegionServers;
  }

  public void setLiveRegionServers(
        RegionServerInfos liveRegionServers) {
    this.liveRegionServers = liveRegionServers;
  }

  public RegionServerInfos getDeadRegionServers() {
    return deadRegionServers;
  }

  public void setDeadRegionServers(
        RegionServerInfos deadRegionServers) {
    this.deadRegionServers = deadRegionServers;
  }

  public int getNumRegionServers() {
    return numRegionServers;
  }

  public void setNumRegionServers(int numRegionServers) {
    this.numRegionServers = numRegionServers;
  }

  public int getNumDeadRegionServers() {
    return numDeadRegionServers;
  }

  public void setNumDeadRegionServers(int numDeadRegionServers) {
    this.numDeadRegionServers = numDeadRegionServers;
  }
}
